package com.fly.estore.dao;

import com.fly.estore.domain.StockInfo;

import java.util.List;

/**
 * Created by Fly on 2016/4/26.
 */
public interface StockDAO {

    public int addStock(StockInfo stockInfo);

    public int updateStock(StockInfo stockInfo);

    public int deleteById(String stockId);

    public StockInfo getById(String stockId);

    public List<StockInfo> getList();

}
